package com.world.rickcloudendpoint.api.controller.demo;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description: 推送消息接口
 * @author: jlsong
 * @date: 2021/12/12 19:40:18
 * @version: 1.0
 */
@RestController
@RequestMapping("/push")
public class PushMessageDemo {

    public void pushToAll(@RequestParam("msg")  String msg){

    }


    public void pushMsgToOne(@RequestParam("userId") String userId, @RequestParam("msg") String msg){

    }
}
